﻿/*--------------------------------------------------------------------------------
 * Adaptive Intelligence - Foundation Framework Class Library
 * Version 2.00
 * 
 * ZIP Signatures Enumeration
 * 		Provides a list of data element signature values used in the PKZIP file
 * 	format.
 *------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
 * System Imports
 *------------------------------------------------------------------------------*/
using System;

namespace Adaptive.Foundation.IO.Zip
{
    /// <summary>
    /// Provides a list of data element signature values used in the PKZIP file format.
    /// </summary>
    public enum ZipSignatures
    {
        /// <summary>
        /// Indicates a local file / zip entry header.
        /// </summary>
        LocalFileHeader = ZipConstants.SIGNATURE_LOCALFILE_HEADER,						//0x04034b50 
        /// <summary>
        /// Indicates an archive extra data header.
        /// </summary>
        ArchiveExtraData = ZipConstants.SIGNATURE_ARCHIVE_EXTRA_DATA,					//0x08064b50 
        /// <summary>
        /// Indicates a data descriptor record.
        /// </summary>
        DataDescriptor = ZipConstants.SIGNATURE_DATA_DESCRIPTOR,						//0x08074b50
        /// <summary>
        /// Indicates a central directory header.
        /// </summary>
        CentralDirectoryHeader = ZipConstants.SIGNATURE_CENTRALDIRECTORY_HEADER,			//0x02014b50 
        /// <summary>
        /// Indicates a digital signature header.
        /// </summary>
        DigitalSignature = ZipConstants.SIGNATURE_DIGITAL_SIGANTURE,						//0x05054b50 
        /// <summary>
        /// Indicates a ZIP-64 End of central directory record.
        /// </summary>
        Zip64EndCentralDirectory = ZipConstants.SIGNATURE_ZIP64_END_CENTRALDIRECTORY,	//0x06064b50 
        /// <summary>
        /// Indicates a ZIP-64 End of central directory locator record.
        /// </summary>
        Zip64EndCentralDirectoryLocator = ZipConstants.SIGNATURE_ZIP64_END_CENTRALDIRECTORY_LOCATOR,	  //0x07064b50 
        /// <summary>
        /// Indicates an end-of-central-directory record.
        /// </summary>
        EndCentralDirectory = ZipConstants.SIGNATURE_END_CENTRALDIRECTORY				//0x06054b50 
    }
}
